package com.wanmait.translate.pojo;

import java.io.Serializable;
import java.util.Date;

public class SupplierInfo implements Serializable {
    private Integer id;

    /**
	* 用户ID
	*/
    private SystemUser userId;

    /**
	* 企业名称
	*/
    private String name;

    /**
	* 企业简称
	*/
    private String abbreviation;

    /**
	* 税号
	*/
    private String tax;

    /**
	* 字典ID（根据id在字典里查）(公司类型)supplier_company_type
	*/
    private Integer dictCompanyType;

    /**
	* 地址
	*/
    private String address;

    /**
	* 法人
	*/
    private String corporation;

    /**
	* 注册资金
	*/
    private String capital;

    /**
	* 字典ID（根据id在字典里查）（币种）
	*/
    private Integer dictCurrency;

    /**
	* 成立日期
	*/
    private Date beginDate;

    /**
	* 截止日期
	*/
    private Date endDate;

    /**
	* 经营范围
	*/
    private String scope;

    /**
	* 登记机关
	*/
    private String registrationAuthority;

    /**
	* 字典ID（根据id在字典里查）（企业所有制类型）supplier_company_ownership
	*/
    private Integer dictCompanyOwnership;

    /**
	* 联系电话
	*/
    private String phone;

    /**
	* 营业执照（附件）
	*/
    private String license;

    /**
	* 传真
	*/
    private String fax;

    /**
	* 创建时间
	*/
    private Date inputTime;

    /**
	* 结束时间（成为供应商时间,否决事件）
	*/
    private Date finishTime;

    /**
	* 字典ID（根据id在字典里查）渠道（网络，名片，其他）supplier_way
	*/
    private Integer dictWay;

    /**
	* 是否是供应商（0确认中，1：供应商，2无效）
	*/
    private Integer state;

    /**
	* 授信时间
	*/
    private Date creditTime;

    /**
	* 授信状态(0 未授信 1已授信 2拒绝授信)
	*/
    private Integer creditState;

    /**
	* 授信人
	*/
    private SystemUser creditUserId;

    /**
	* 逻辑删除
	*/
    private Boolean enable;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAbbreviation() {
        return abbreviation;
    }

    public void setAbbreviation(String abbreviation) {
        this.abbreviation = abbreviation;
    }

    public String getTax() {
        return tax;
    }

    public void setTax(String tax) {
        this.tax = tax;
    }

    public Integer getDictCompanyType() {
        return dictCompanyType;
    }

    public void setDictCompanyType(Integer dictCompanyType) {
        this.dictCompanyType = dictCompanyType;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getCorporation() {
        return corporation;
    }

    public void setCorporation(String corporation) {
        this.corporation = corporation;
    }

    public String getCapital() {
        return capital;
    }

    public void setCapital(String capital) {
        this.capital = capital;
    }

    public Integer getDictCurrency() {
        return dictCurrency;
    }

    public void setDictCurrency(Integer dictCurrency) {
        this.dictCurrency = dictCurrency;
    }

    public Date getBeginDate() {
        return beginDate;
    }

    public void setBeginDate(Date beginDate) {
        this.beginDate = beginDate;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getRegistrationAuthority() {
        return registrationAuthority;
    }

    public void setRegistrationAuthority(String registrationAuthority) {
        this.registrationAuthority = registrationAuthority;
    }

    public Integer getDictCompanyOwnership() {
        return dictCompanyOwnership;
    }

    public void setDictCompanyOwnership(Integer dictCompanyOwnership) {
        this.dictCompanyOwnership = dictCompanyOwnership;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getLicense() {
        return license;
    }

    public void setLicense(String license) {
        this.license = license;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public Date getInputTime() {
        return inputTime;
    }

    public void setInputTime(Date inputTime) {
        this.inputTime = inputTime;
    }

    public Date getFinishTime() {
        return finishTime;
    }

    public void setFinishTime(Date finishTime) {
        this.finishTime = finishTime;
    }

    public Integer getDictWay() {
        return dictWay;
    }

    public void setDictWay(Integer dictWay) {
        this.dictWay = dictWay;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Date getCreditTime() {
        return creditTime;
    }

    public void setCreditTime(Date creditTime) {
        this.creditTime = creditTime;
    }

    public Integer getCreditState() {
        return creditState;
    }

    public void setCreditState(Integer creditState) {
        this.creditState = creditState;
    }


    public SystemUser getCreditUserId() {
        return creditUserId;
    }

    public void setCreditUserId(SystemUser creditUserId) {
        this.creditUserId = creditUserId;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public SystemUser getUserId() {
        return userId;
    }

    public void setUserId(SystemUser userId) {
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "SupplierInfo{" +
                "id=" + id +
                ", userId=" + userId +
                ", name='" + name + '\'' +
                ", abbreviation='" + abbreviation + '\'' +
                ", tax='" + tax + '\'' +
                ", dictCompanyType=" + dictCompanyType +
                ", address='" + address + '\'' +
                ", corporation='" + corporation + '\'' +
                ", capital='" + capital + '\'' +
                ", dictCurrency=" + dictCurrency +
                ", beginDate=" + beginDate +
                ", endDate=" + endDate +
                ", scope='" + scope + '\'' +
                ", registrationAuthority='" + registrationAuthority + '\'' +
                ", dictCompanyOwnership=" + dictCompanyOwnership +
                ", phone='" + phone + '\'' +
                ", license='" + license + '\'' +
                ", fax='" + fax + '\'' +
                ", inputTime=" + inputTime +
                ", finishTime=" + finishTime +
                ", dictWay=" + dictWay +
                ", state=" + state +
                ", creditTime=" + creditTime +
                ", creditState=" + creditState +
                ", creditUserId=" + creditUserId +
                ", enable=" + enable +
                '}';
    }
}